﻿using EcoSystem.Enums;
using System;
using System.ComponentModel.DataAnnotations.Schema;
using Volo.Abp.Data;

namespace EcoSystem
{
    [Serializable]
    [NotMapped]
    public class AttachmentItemDto : IHasExtraProperties
    {
        /// <summary>
        /// 组名
        /// </summary>
        public string GroupName { get; set; } 

        /// <summary>
        /// 文件名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 文件类型
        /// </summary>
        public FileType FileType { get; set; }

        /// <summary>
        /// 文件ID
        /// </summary>
        public Guid FileId { get; set; }

        /// <summary>
        /// 扩展内容数据
        /// </summary>
        public ExtraPropertyDictionary ExtraProperties { get; set; }
    }
}
